'use strict';

let { sequelize, defineModel, DataTypes } = require('../db');
//结果表
// 定义一个模型
let Model = defineModel('results', {
   questionairId: {
        type: DataTypes.BIGINT,
        allowNull: false
    },
    questionId: {
        type: DataTypes.BIGINT,
        allowNull: false
    },
    promoterId: {
        type: DataTypes.BIGINT,
        allowNull: false
    }
});

module.exports = Model